package cn.basic.org.service;

import cn.basic.auth.vo.query.EmployeeRoleQuery;
import cn.basic.org.domain.Employee;
import cn.basic.common.service.IBaseService;
import cn.basic.org.vo.result.EmployeeVo;
import cn.basic.org.vo.query.EmployeeQuery;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.List;

/**
 * @description:  Service层
 * @author: ZhaoLc
 * @date: 2023-03-27
 * @version: 1.0
 */
public interface IEmployeeService extends IBaseService<Employee,EmployeeQuery,EmployeeVo> {

        public List<EmployeeVo> getAll();

        public List<Long> getRoleById(Serializable id);

        public void grantedRoles(EmployeeRoleQuery employeeRoleQuery);
}
